package test.fra;

public class ArrayUtil {
	
	/**
	 * Array join
	 * @param objects
	 * @param split
	 * @return
	 */
	public static String join(Object[] objects, String split) {
		StringBuilder builder = new StringBuilder();
		
		for (Object object : objects) {
			builder.append(object.toString()).append(split);
		}
		builder.trimToSize();
		return builder.subSequence(0, builder.length() - 1).toString();

	}
}
